package com.armed.excepciones;

/**
 * Exception Class UniqueKeyViolationException
 *
 *
 * @author init() software
 * @version 25/01/2008 
 */

public class UniqueKeyViolationException extends ArmedException 
{
    /**
     * Creates a new instance of <code>UniqueKeyViolationException</code> without detail message.
     */
    public UniqueKeyViolationException() 
    {
        this("La clave primaria ya existe en la base de datos");
    }

    /**
     * Constructs an instance of <code>UniqueKeyViolationException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public UniqueKeyViolationException(String msg) 
    {
        super(msg);
    }
}
